package com.wechat.service.storage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.swak.persistence.BaseMapper;
import com.wechat.entity.Chat;

/**
 * 描述
 * 
 * @author Auto Generator
 * @date 2022-10-21T23:59:27.243629400
 */
@Mapper
@Repository("wechatChatMapper")
public interface ChatMapper extends BaseMapper<Chat, String> {

	@Select("SELECT SUM(UN_READ_COUNT) C FROM WECHAT_CHAT")
	Integer unreads();
}
